﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllTypeContract
    {
        #region[Get-Data]
        public DataTable GetTypeContract(string keywords)
        {
            return DalTypeContract.GetTypeContract(keywords);
        }
        public DataTable GetTypeContractEdit(int id)
        {
            return DalTypeContract.GetTypeContractEdit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtTypeContract obj)
        {
            return DalTypeContract.Insert(obj);
        }
        public static bool Update(EtTypeContract obj)
        {
            return DalTypeContract.Update(obj);
        }
        public static bool Delete(EtTypeContract obj)
        {
            return DalTypeContract.Delete(obj);
        }
        #endregion
    }
}